﻿using FanaticRock.Core.ServiceInterfaces;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FanaticRock.Database.FileStorageDb.XmlDb
{
    ///<summary>以Xml文件系统作为小型数据库。</summary>
    [Obsolete("开发中")]
    public class XmlDbService 
    {
        ///<summary>存储服务。</summary>
        private ICacheStorageService _cacheStorageService;

        private XmlDbQueryProvider _provider = new XmlDbQueryProvider();

        private string _initDir;

        ///<param name="rootDir">作为文件夹的根目录。</param>
        public XmlDbService(ICacheStorageService cacheStorageService)
        {
            _cacheStorageService = cacheStorageService;
        }

        public void Init()
        {

        }

        public XmlDbService Config(XmlDbInitOption option)
        {
            return this;
        }

        public void Flush()
        {

        }


     
    }
}
